<?php
$config['Science'] = array(
	'upload'	=>	array(
		'AttachTypeAllowed'	=>	'jpg,gif,jpeg,png'
	),
	'thumbnail'	=>	array(
		'thumbnail'		=>	true,
		'width'			=>	120,
		'height'		=>	90,
		'percent'		=>	0,
		'path'			=>	WWW_ROOT.'files/sciences/',
		'uri'			=>	'files/sciences/',
	),
	'crop'	=>	array(
		'crop'		=>	false,
		'width'			=>	303,
		'height'		=>	102,
		'percent'		=>	0,
		'path'			=>	WWW_ROOT.'files/sciences/',
		'uri'			=>	'files/sciences/',
	),
	'image'		=>	array(
		'show'			=>	true,
		'autoResize'	=>	false,
		'path'			=>	WWW_ROOT.'files/sciences/',
		'uri'			=>	'files/sciences/',
		//resize
		'width'			=>	600,
		'height'		=>	400,
		'percent'		=>	0
	),
	'content'	=>	array(
		'show'	=>	true,
		"default_content"	=>	""
	),
	'description'	=>	array(
		'show'	=>	true,
		'default_content'	=>	""
	),
	'description_config'	=>	array(
		'uiColor'	=>'#97da7f',
		'toolbar'	=>	"[
	                  ['Preview','Source'],
	                  ['Bold','Italic','Strike'],
	                  ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
	                  ['Link','Unlink','Anchor'],
	                  ['FontSize','TextColor','BGColor'],
	              ]",
		'height'	=>	"130px",
		'width'		=>	"550px",
		"resize_enabled"	=>	false,
		//'contentsCss'		=>	'/webdev/themed/webdev.vn/css/news_editor.css'
	),
	'content_config'	=>	array(
		'uiColor'=>'#97da7f',
		"resize_enabled"	=>	false,
		'height'	=>	"300px",
		'width'		=>	"700px",
	),
);

$config['Themes'] = array(
	'manage_sciences'	=> 'tcx_plugins',
);

# ------------------------------------------------------------------
# View
$config['View'] = array(
	'type'			=>	'details', // list, details, thumbnail
	'limit'			=>	4,
	'details'		=>	array(
		'show_image'	=>	false,
	),
	'thumbnail'		=>	array(
		'has_thumbnail'	=>	true
	)
);

# ------------------------------------------------------------------
# Manage
$config['Manage'] = array(
	'edit'	=>	array(
		'show_alias'	=>	true,
		'custom_css'	=>	''
	),
	'add'	=>	array(
		'show_alias'	=>	true
	)
);
?>